package com.study.wumeng.chapter_2;

import android.app.Application;
import android.os.Process;
import android.util.Log;

import com.study.wumeng.chapter_2.util.MyUtils;

/**
 * Created by：WuMeng
 * on 2018/6/28 09:04
 */
public class MyApplication extends Application {

    private static final String TAG = "MyApplication";

    @Override
    public void onCreate() {
        super.onCreate();

        String processName = MyUtils.getProcessName(getApplicationContext(), Process.myPid());

        Log.d(TAG,"application start, process name:" + processName);
    }
}
